package com.dongpl.module.sysUser.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用户角色实体类
 * @author Administrator
 */
@Data
@TableName(value = "t_role")
public class SysRole implements Serializable {

    private static final long serialVersionUID = -1355182895927333142L;

    private String id;

    private String name;

    /**
     * 定义权限的集合
     */
    private List<SysPerms> perms;

}
